<template>
	<view class="uni-flex-column-center coupon">
		<jnavbar :title="'领取优惠券'"></jnavbar>
		<text class="icon iconfont el-sc-dui1"></text>
		<text>领取成功</text>
		<view class="uni-flex-column btns" @click="touse()"><text>去使用</text></view>
	</view>
</template>

<script>
export default {
	onShareAppMessage() {
		return this.wxShare();
	},
	methods: {
		touse() {
			// uni.navigateTo({
			// 	url:'../index/index'
			// })
			this.Jumpurl(
				{
					type: 1,
					link: '../index/index'
				},
				'switch'
			);
		}
	}
};
</script>

<style lang="scss" scoped>
.coupon {
	width: 720rpx;
	margin-left: 15rpx;
	padding-top: 20rpx;
	background: #fff;
	border-radius: 20rpx;
	color: #ff3c29;
	font-size: 30rpx;
	.icon {
		font-size: 96rpx;
	}
	.btns {
		background-color: #ff3c29;
		color: #fff;
		width: 640rpx;
		font-size: 26rpx;
		text-align: center;
		padding: 20rpx 0;
		margin-top: 20rpx;
		border-radius: 40rpx;
		margin-bottom: 20rpx;
	}
}
</style>
